package com.simple.portal.vo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name ="USER_GROUP_REL")
public class UserGroupRelVO implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6004560413525371480L;

	@Id
    @GeneratedValue(generator = "hibernate-uuid")
    @GenericGenerator(name="hibernate-uuid", strategy="uuid")
	@Column(name ="USER_GROUP_REL_ID")
	private String userGroupRelId;
	
	@Column(name ="USER_ID")
	private String userId;
	
	@Column(name ="GROUP_ID")
	private String groupId;
	
	public String getUserGroupRelId() {
		return userGroupRelId;
	}

	public void setUserGroupRelId(String userGroupRelId) {
		this.userGroupRelId = userGroupRelId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	
}
